import type { InstanceInfo } from "@/api/job";

interface FormProps {
  formInline: InstanceInfo;
}

interface RunJobRequest {
  appId: string;
  jobId: string;
  instanceParams: string;
}

interface RunJobFormProps {
  formInline: RunJobRequest;
}
/**
 * 文本分页
 */
interface StringPage {
  /**
   * 当前页数
   */
  index: number;
  /**
   * 总页数
   */
  totalPages: number;
  /**
   * 文本数据
   */
  data: string;
}

export type { FormProps, RunJobRequest, RunJobFormProps, StringPage };
